package com.chinasofti.properties;

import javax.swing.text.html.ObjectView;
import java.util.Properties;
import java.util.Set;

public class Demo01 {
    public static void main(String[] args) {
        Properties prop = new Properties();

        prop.put("chinasofti01","赵丽颖");
        prop.put("chinasofti02","赵露丝");
        prop.put("chinasofti03","赵又廷");

        Set<Object> keySet = prop.keySet() ;
       for (Object key :keySet){
           Object value=prop.get(key);
           System.out.println(key+","+value);
       }
    }
}
